home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 April / CHIP CD (4 - 2007).iso / beeld / 3d / ArtOfIllusion24-Mac.dmg / Art of Illusion / ArtOfIllusion.jar / bsh / commands / pathToFile.bsh < prev    next >
Text File  |  2005-05-23  |  289b  |  11 lines

  1. /**
  2.     Create a File object corresponding to the specified file path name, taking
  3.     into account the bsh current working directory (bsh.cwd)
  4. */
  5.  
  6. bsh.help.pathToFile = "usage: File pathToFile( String )";
  7.  
  8. File pathToFile( String filename ) {
  9.     return this.interpreter.pathToFile( filename );
  10. }
  11.